<?




echo "<p style='line-height:16px;' class='ink editable'><b class='rubrik'>Køn: </b>".$element_data['individ']['koen'];
if(in_array($id,$redEle)) {
	echo "<span class='rediger_holder' style='display:none;'>".anchor("almanak/side/".$id."/rediger_koen"," ","class='rediger'")."</span>";
}
echo "</p>";

echo "<p style='line-height:16px;' class='ink editable'><b class='rubrik'>Æt: </b>".$element_data['individ']['race'];
if(in_array($id,$redEle)) {
	echo "<span class='rediger_holder' style='display:none;'>".anchor("almanak/side/".$id."/rediger_race"," ","class='rediger'")."</span>";
}
echo "</p>";

if(in_array($id,$redEle)) {
	echo "<p style='line-height:16px;' class='ink editable'><b class='rubrik'>Profession: </b>".$element_data['individ']['profession'];
	echo "<span class='rediger_holder' style='display:none;'>".anchor("almanak/side/".$id."/rediger_profession"," ","class='rediger'")."</span>";
	echo "</p>";
}
echo "<p style='line-height:16px;' class='ink editable'><b class='rubrik'>Level: </b>".$element_data['individ']['level'];
if($ingame['ingame_id'] < 1) {
	echo "<span class='rediger_holder' style='display:none;'>".anchor("almanak/side/".$id."/rediger_level"," ","class='rediger'")."</span>";
}
echo "</p>";

$sidste_temp_stats = $element_data['individ']['sidste_temp_stats'];
echo "<p style='line-height:16px;' class='ink editable'>";
				if(in_array($id,$redEle)) {
					echo anchor('almanak/side/'.$id.'/stats', "<b>Stats:</b>", "class='rubrik'");
					echo "<span class='rediger_holder' style='display:none;'>".anchor("almanak/side/".$id."/rediger_stats"," ","class='rediger'")."</span>";
					if($sidste_temp_stats != 0){
						$stat_navne = array_keys($sidste_temp_stats);
						$stat_vaerdier = array_values($sidste_temp_stats);
							//echo "<br>stat_navne er "; print_r($stat_navne);
						echo "<br>Højste: ";
						echo $stat_navne[10]."(".$stat_vaerdier[10]."), ";
						echo $stat_navne[9]."(".$stat_vaerdier[9].")";
						echo "<br>Laveste: ";
						echo $stat_navne[0]."(".$stat_vaerdier[0]."), ";
						echo $stat_navne[1]."(".$stat_vaerdier[1].")";
					}
				}
echo "</p>";
?>

